<template>
  <div class="login-container">
    <el-form status-icon label-width="100px" class="login-form">
      <div class="title-container">
        <h3 class="title">
          <img class="title" src="@/assets/logo.png" alt="" />
        </h3>
      </div>

      <el-form-item>
        <el-input
          prefix-icon="el-icon-mobile-phone"
          placeholder="请输入用户名"
        ></el-input>
      </el-form-item>
      <el-form-item>
        <el-input
          prefix-icon="el-icon-lock"
          placeholder="请输入密码"
        ></el-input>
      </el-form-item>
      <el-form-item>
        <el-input
          prefix-icon="el-icon-key"
          placeholder="请输入验证码"
        ></el-input>
      </el-form-item>
      <el-form-item>
        <el-button>提交</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: 'DikedeIndex',
  data() {
    return {}
  },
  methods: {},
}
</script>

<style lang="less" scoped>
.login-container {
  position: relative;
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-image: url('~@/assets/background.png');
  background-repeat: no-repeat;
  background-size: cover;
  .login-form {
    position: absolute;
    width: 518px;
    height: 388px;
    top: 50%;
    left: 50%;
    margin-top: -194px;
    margin-left: -259px;
    padding: 76px 35px 0;
    background: #fff;
    box-shadow: 0 3px 70px 0 rgb(30 111 72/3);
    border-radius: 10px;
    .title-container {
      display: block;
      position: absolute;
      top: -66px;
      left: 50%;
      margin-left: -45px;
      h3 {
        width: 110px;
        height: 110px;
        img {
          width: 100%;
        }
      }
    }
  }
  .el-button {
    width: 100%;
    height: 52px;
    background: linear-gradient(262deg, #2e50e1, #6878f0);
    opacity: 0.91;
    border-radius: 8px;
    color: #fff;
    text-shadow: 0 7px 22px #cfcfcf;
  }
}
</style>
